Component({
  properties: {
    couponList: {
      type: Array,
      value: []
    },
    couponType: {
      type: String,
      value: '0'
    },
    receiveBtnText: {
      type: String,
      value:''
    },
    useCoupon: {
      type: Boolean,
      value: false
    },
  },
  data: {},
  methods: {
    receiveCoupon: function ({currentTarget}) {
      this.triggerEvent('onReceiveCoupon', currentTarget.dataset);
    },

    setChecked: function ({currentTarget}) {
      this.triggerEvent('onSetChecked', currentTarget.dataset);
    },
  }
});
